/* RESET & BASE CORE ARCHITECTURE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f7f4ed; /* Matching the structural background container */
    color: #222222;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* TOP MINI STRAP BAR */
.top-bar {
    background-color: #051021;
    color: #ffffff;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    padding: 10px 8%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* NAVIGATION ENGINE BLOCK */
.main-header {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    height: 6rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-area img {
    height: 40px;
}

.logo-title {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 600;
    color: #0a2540;
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 10px;
    letter-spacing: 2px;
    color: #666;
}

.nav-links {
    display: flex;
    gap: 30px;
    font-size: 14px;
    font-weight: 500;
}

.nav-links a.active { color: #0a2540; font-weight: 600; }

.btn-assessment {
    background-color: #0f233c;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    border: none;
    font-weight: 500;
    cursor: pointer;
}

/* NAVBAR DROPDOWN CORE ENGINE */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    top: 100%;
    left: 0;
    z-index: 1000;
}

.dropdown-content a {
    color: #444444 !important;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 500;
}

.dropdown-content a:hover {
    background-color: #faf8f5;
    color: #0a2540 !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* NEW: QUIZ HEADER SECTION MATCHING METRICS */
.quiz-hero {
    background-color: #07162c; /* Exact premium navy palette matching image top */
    color: #ffffff;
    padding: 60px 8% 80px 8%;
    position: relative;
}

.quiz-hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

.back-link {
    font-size: 14px;
    color: #94a3b8;
    display: inline-block;
    margin-bottom: 30px;
}

.back-link:hover {
    color: #ffffff;
}

.quiz-header-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.badge-icon {
    font-size: 18px;
}

.badge-text {
    font-size: 11px;
    letter-spacing: 2px;
    color: #cbd5e1;
    font-weight: 500;
    text-transform: uppercase;
}

.quiz-hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 44px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.quiz-hero p {
    font-size: 16px;
    color: #94a3b8;
}

.valor-health-badge-top {
    position: absolute;
    right: 8%;
    top: 60px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 1.5px;
    color: #cbd5e1;
    background-color: rgba(255, 255, 255, 0.02);
}

/* NEW: ASSESSMENT QUESTIONNAIRE GENERATION ARCHITECTURE */
.quiz-main-content {
    padding: 60px 8% 100px 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -40px; /* Overlaps seamlessly */
}

.quiz-card-container {
    background: #ffffff;
    width: 100%;
    max-width: 1000px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    padding: 50px 40px;
    box-sizing: border-box;
    border: 1px solid #f0eae1;
}

.quiz-instructions {
    font-size: 14px;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 25px;
    margin-bottom: 10px;
    font-weight: 400;
}

.quiz-question-row {
    padding: 24px 0;
    border-bottom: 1px solid #f8fafc;
}

.question-text {
    font-size: 15px;
    font-weight: 500;
    color: #0f233c;
    margin-bottom: 16px;
}

.options-group {
    display: flex;
    gap: 32px;
}

.radio-label {
    font-size: 14px;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}

.radio-label input[type="radio"] {
    accent-color: #0f233c; /* Custom dark engine match */
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.btn-submit-quiz {
    background-color: #0f233c;
    color: #ffffff;
    border: none;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 35px;
    transition: background 0.2s ease;
}

.btn-submit-quiz:hover {
    background-color: #07162c;
}

.quiz-disclaimer {
    background-color: #faf6f0;
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 13px;
    color: #7f8e9f;
    line-height: 1.5;
    margin-top: 30px;
}

/* MID INLINE PROMPT BAR BLOCK */
.talk-prompt-bar {
    width: 100%;
    max-width: 1000px;
    background-color: #f1ede4;
    border-radius: 12px;
    margin-top: 40px;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.talk-prompt-bar span {
    font-size: 15px;
    color: #334155;
    font-weight: 400;
}

.btn-phone-inline {
    background-color: #0f233c;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
}

/* RED CRISIS BANNER ARCHITECTURE */
.crisis-banner {
    background-color: #d63f3f;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    font-weight: 500;
}

/* GENERAL METRIC FOOTER REGION */
.main-footer {
    background-color: #040d1a;
    color: #94a3b8;
    padding: 70px 8% 30px 8%;
    font-size: 14px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 60px;
    margin-bottom: 40px;
}

.logo-area.light .logo-title { color: #ffffff; font-weight: 500; }
.logo-area.light .logo-subtitle { color: #94a3b8; }
.brand-desc { margin-top: 20px; line-height: 1.6; color: #cbd5e1; }
.footer-contact-info { margin-top: 25px; }
.footer-contact-info p { margin-bottom: 10px; color: #ffffff; }

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.footer-links-grid h4 {
    color: #ffffff;
    font-size: 11px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.footer-links-grid ul { list-style: none; }
.footer-links-grid ul li { margin-bottom: 12px; }
.footer-links-grid ul li a { color: #94a3b8; font-size: 13px; }
.footer-links-grid ul li a:hover { color: #ffffff; }

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 40px 0;
}

.tools-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.tools-tag {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #d1b894;
    display: block;
    margin-bottom: 8px;
}

.tools-header h3 { color: #ffffff; font-family: 'Cinzel', serif; font-size: 24px; font-weight: 500; }
.btn-toolkit { color: #ffffff; border-bottom: 1px solid #ffffff; padding-bottom: 4px; font-size: 14px; }

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.tools-grid ul { list-style: none; }
.tools-grid ul li { margin-bottom: 12px; }
.tools-grid ul li a { color: #94a3b8; font-size: 13px; }
.tools-grid ul li a:hover { color: #ffffff; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
    margin-top: 20px;
}

.legal-links a { margin-left: 20px; color: #64748b; }
.legal-links a:hover { color: #cbd5e1; }

/* FIXED FLOATING CORE ACTION WIDGETS */
.chat-widget {
    position: fixed;
    bottom: 25px;
    z-index: 999;
    cursor: pointer;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-widget {
    left: 25px;
    background-color: #22c55e;
    width: 45px;
    height: 45px;
    font-size: 20px;
}

.right-widget {
    right: 25px;
    background-color: #0f233c;
    color: white;
    padding: 12px 22px;
    font-size: 14px;
}

/* RESPONSIVE LAYOUT ENGINE */
@media (max-width: 1024px) {
    .footer-links-grid { grid-template-columns: repeat(3, 1fr); }
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .options-group { flex-direction: column; gap: 12px; }
    .talk-prompt-bar { flex-direction: column; gap: 20px; text-align: center; }
}